<?php
namespace app\model;
use think\model\concern\SoftDelete;
class ProductSpecsValue extends BaseModel
{
    use SoftDelete;
    protected $deleteTime='delete_time';
    protected $autoWriteTimestamp = true;
    
    public function getPageData($page,$size)
    {
        return self::paginate($size,false,[
            'page'=>$page
        ]);
    }
    public function deleteByID($id)
    {
        return self::destroy($id);
    }
}